package com.ling.pl.autoproject.definition.component.tree.model;

import com.ling.pl.core.commons.annotation.ModelProperty;

import javax.persistence.Column;

public class TreeNodeRelation {
    //实体树节点关系信息
    @Column(name = "TREE_ID", length = 36)
    @ModelProperty(comment = "树id")
    String treeId;

    @Column(name = "PARENT_NODE_ID", length = 36)
    @ModelProperty(comment = "父节点")
    String parentNodeId;

    @Column(name = "CHILD_NODE_ID", length = 36)
    @ModelProperty(comment = "子节点")
    String childNodeId;

    @Column(name = "IS_ENABLE")
    @ModelProperty(comment = "是否启用")
    Boolean isEnable;

    @Column(name = "SORT_ORDER")
    @ModelProperty(comment = "排序值")
    Integer sortOrder;

    @Column(name = "FILTER_ENTITY_ACTION_ID", length = 36)
    @ModelProperty(comment = "实体过滤行为")
    String filterEntityActionId;

    @Column(name = "ENTITY_RELATION_ID", length = 36)
    @ModelProperty(comment = "实体关系id")
    String entityRelationId;

    @Column(name = "PARENT_PROPERTY", length = 36)
    @ModelProperty(comment = "关系父值节点")
    String parentProperty;
}
